package com.common.base;

import org.springframework.orm.ibatis.SqlMapClientTemplate;
import com.ibatis.sqlmap.client.SqlMapClient;

public class BaseSqlMapDAO {
	
	private SqlMapClientTemplate sqlMapClientTemplate = new SqlMapClientTemplate();
	
	public final void setSqlMapClient(SqlMapClient sqlMapClient) {
		this.sqlMapClientTemplate.setSqlMapClient(sqlMapClient);
	}

	/**
	 * 返回read MapClientTemplate
	 * @return
	 */
	public final SqlMapClientTemplate getSqlMapClientTemplate() {
		return this.sqlMapClientTemplate;
	}
	
	
}
